import { ref } from "vue";

export default function InitHook() {
  const tableRef = ref<any>(null);
  const loading = ref<boolean>(false);
  const selectRow = ref<Base.GeneraDataType | null>(null);
  const tableData = ref<Array<Base.GeneraDataType>>([]);

  return {
    tableData,
    loading,
    selectRow,
    tableRef
  };
}
